
//变化版


#ifndef PROTO_H__
#define PROTO_H__


 
#define RCVPORT  "1989"
#define NAMEMAX   512-8-8     //512是udp的推荐长度  -8是报头 再减8是减去 math Chinese 


struct msg_st{
    uint32_t math; 
    uint32_t chinese;  
    uint8_t name[NAMESIZE]; 
}__attribute__((packed));   //告诉GCC不要对齐






#endif